
package com.be.beadmin.quality.service;

import com.be.beadmin.common.entity.PageEntity;
import com.be.beadmin.quality.dto.input.ProductSelfCheckInforDto;
import com.be.beadmin.quality.dto.output.ProductSelfCheckInforEx;
import org.springframework.data.domain.Page;

import java.util.List;

/**
* @description 服务接口
* @author zjm
* @date 2023-03-19
**/
public interface ProductSelfCheckInforService {

    /**
    * 分页的查询接口
    * @param pageEntity
    * @return
    */
    Page<ProductSelfCheckInforEx> getProductSelfCheckInforByPage(PageEntity pageEntity);

    /**
    * @param productSelfCheckInforDto
    */
    void addProductSelfCheckInfor(ProductSelfCheckInforDto productSelfCheckInforDto);

    /**
    * @param productSelfCheckInforDto
    */
    void updateProductSelfCheckInfor(ProductSelfCheckInforDto productSelfCheckInforDto);

    /**
    * @param id
    */
    void delProductSelfCheckInfor(String id);

    /**
    * 删除多个角色
    * @param ids
    */
    void delProductSelfCheckInfors (List<String> ids);


    /**
     * 根据工序id获取改工序的自检信息
     * @param processId
     * @return
     */
    ProductSelfCheckInforEx getProductSelfCheckInforByProcessId(String processId);
}